{extends file="assets::smarty-templates::Master"|toPath}
{block name="subtitle"}:: Plugins{/block}
{block name="content"}
<div class="portlet x12">
    <div class="portlet-header"><h4>Plugins</h4></div>

    <div class="portlet-content">
        <table cellpadding="0" cellspacing="0" border="0" class="display" rel="datatable">
            <thead>
                <tr>
                    <th>Nombre</th>
                    <th>Tipo</th>
                    <th>Descripci&oacute;n</th>
                    <th>Acciones</th>
                </tr>
            </thead>
            <tbody>
                {foreach $plugins as $plugin}
                <tr class="odd gradeX">
                    <td>{$plugin['name']}</td>
                    <td>{$plugin['type']}</td>
                    <td>{$plugin['comments']}</td>
                    <td><a class="btn btn-small btn-grey" href="{$editContent}&idPlugin={$plugin['id']}">Editar Contenido</a></td>
                </tr>
                {/foreach}
            </tbody>
        </table>
    </div>
</div>
{/block}